export default {
	namespaced:true,
	state: {
		// 轮播数据
		swiperList: [{
				imgUrl: 'https://snowcyans.gitee.io/static-warehouse/static/jx5.jpg',
				sizeFlag: true,
				likeFlag: false
			},
			{
				imgUrl: 'https://snowcyans.gitee.io/static-warehouse/static/mj6.jpg',
				sizeFlag: true,
				likeFlag: false
			},
			{
				imgUrl: 'https://snowcyans.gitee.io/static-warehouse/static/xishi2.png',
				sizeFlag: true,
				likeFlag: false
			},
			{
				imgUrl: 'https://snowcyans.gitee.io/static-warehouse/static/cl2.jpg',
				sizeFlag: true,
				likeFlag: false
			},
			{
				imgUrl: 'https://snowcyans.gitee.io/static-warehouse/static/city.jpg',
				sizeFlag: true,
				likeFlag: false
			}
		],
		
		// 交错式瀑布流数据
		waterfallList: [
			{
				imgUrl: 'https://snowcyans.gitee.io/static-warehouse/static/hs3.jpg',
				sizeFlag: false,
				likeFlag: false
			},
			{
				imgUrl: 'https://snowcyans.gitee.io/static-warehouse/static/dp.jpg',
				sizeFlag: false,
				likeFlag: false
			}
			,{
				imgUrl: 'https://snowcyans.gitee.io/static-warehouse/static/pcImg/rlh.jpg',
				sizeFlag: false,
				likeFlag: false

			},
			{
				imgUrl: 'https://snowcyans.gitee.io/static-warehouse/static/yhy.jpg',
				sizeFlag: false,
				likeFlag: false
			},
			{
				imgUrl: 'https://snowcyans.gitee.io/static-warehouse/static/xe.jpg',
				sizeFlag: false,
				likeFlag: false
			},
			
			{
				imgUrl: 'https://snowcyans.gitee.io/static-warehouse/static/yy3.jpg',
				sizeFlag: false,
				likeFlag: false
			}
		],

		// 瀑布流加载的数据
		loadingList: [{
				imgUrl: 'https://snowcyans.gitee.io/static-warehouse/static/g1.jpg',
				sizeFlag: false,
				likeFlag: false

			},
			{
				imgUrl: 'https://snowcyans.gitee.io/static-warehouse/static/hs4.jpg',
				sizeFlag: false,
				likeFlag: false
			},
			{
				imgUrl: 'https://snowcyans.gitee.io/static-warehouse/static/fj5.png',
				sizeFlag: false,
				likeFlag: false
			},
			{
				imgUrl: 'https://snowcyans.gitee.io/static-warehouse/static/yy5.jpg',
				sizeFlag: false,
				likeFlag: false
			},
		],

	},
	mutations:{
		// 给瀑布流数据赋值
		waterfallAdd(state,list){
			state.waterfallList.push(...list)
		}
	}
}